from scrapy.cmdline import execute

# main
def main():
    execute(['scrapy', 'crawl', 'peoples', '-s', 'LOG_FILE=./logs/all.log'])
    # execute(['scrapy', 'crawl', 'peoples'])

if __name__ == '__main__':
    main()